package com.hxgz.steel.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@ApiModel
@Data
public class ExtendGoodDto{

    private Long id;//商品id
    @ApiModelProperty("商品编号")
    private String productCode;//商品编号
    @ApiModelProperty("商品名称")
    private String productName;//商品名称
    @ApiModelProperty("商品类别id")
    private Long categoryId;//商品类别id
    @ApiModelProperty(value = "商品类名")
    private String categoryName;//商品类名
    @ApiModelProperty("上传时间")
    private String createTime;//上传时间
    @ApiModelProperty("下架时间")
    private String updateTime;//下架时间
    @ApiModelProperty(value = "状态  1-在售 2-下架 3-删除")
    private Integer status;//状态  1-在售 2-下架 3-删除
    @ApiModelProperty(value = "提交开始时间")
    private String updateTimeStr;//提交开始时间
    @ApiModelProperty(value = "提交结束时间")
    private String updateTimeEnd;//提交结束时间
    @ApiModelProperty(value = "材质")
    private String materials;//材质
    @ApiModelProperty("商品品名")
    private String name;//商品品名
    @ApiModelProperty("用户id")
    private Long userId;
    @ApiModelProperty(value = "品名")
    private String topName;
    @ApiModelProperty(value = "特性")
    private String features;
    @ApiModelProperty(value = "前端不用传:排序 通过page里面的orderby传")
    private String sort;
    @ApiModelProperty("价格")
    private BigDecimal price;
    @ApiModelProperty("商品图片")
    private String mainImage;
    @ApiModelProperty("数量")
    private Integer count;
}
